package com.le.tester.designmode.demeter;


import java.util.ArrayList;
import java.util.List;

/**
 * createTime：2022/9/1 13:52
 * description：TeamLeader
 */
public class TeamLeader {
    public void checkNum() {
        List<Course> courseList = new ArrayList<>();
        for (int i = 0; i < 20; i++) {
            courseList.add(new Course());
        }
        System.out.println("num is " + courseList.size());
    }
}
